package com.founder.chd_daily_query.entity.query;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "LAND_COAL_TRANSSHIPMENT",schema = "RBD_RESULT")
public class LandCoalTransshipmentEntity {

    @Id
    @Column(name = "PURCHASE_SALE_PRECEPT_ID")
    private String purchaseSalePreceptId;

    @Column(name = "CONTRACT_AMOUNT")
    private Integer contractAmount;

    @Column(name = "ONBOARD_PRICE")
    private Integer onboardPrice;

    @Column(name = "DESPATCH_QUANTITY")
    private Integer despatchQuantity;

    @Column(name = "DESPATCH_AMOUNT")
    private Integer despatchAmount;

    @Column(name = "QNET")
    private String qnet;

    @Column(name = "NATURAL_COAL_UNITPRICE")
    private Integer naturalCoalUnitprice;

    @Column(name = "STANDARD_COAL_UNITPRICE")
    private Integer standardCoalUnitprice;

    @Column(name = "MONTHLY_RATE_REDEMPTION")
    private Integer monthlyRateRedemption;

    @Column(name = "CONTRACT_ID")
    private String contractId;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd")
    @Column(name = "CREATE_DATE")
    private Date createDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @JSONField(format = "yyyy-MM-dd")
    @Column(name = "LAST_UPDATE_DATE")
    private Date lastUpdateDate;

    @Column(name = "SUPPLY_PROVINCE_ID")
    private String supplyProvinceId;

    @Column(name = "POWERSTATION_ID")
    private String powerstationId;


    public String getPurchaseSalePreceptId() {
        return purchaseSalePreceptId;
    }

    public void setPurchaseSalePreceptId(String purchaseSalePreceptId) {
        this.purchaseSalePreceptId = purchaseSalePreceptId;
    }

    public Integer getContractAmount() {
        return contractAmount;
    }

    public void setContractAmount(Integer contractAmount) {
        this.contractAmount = contractAmount;
    }

    public Integer getOnboardPrice() {
        return onboardPrice;
    }

    public void setOnboardPrice(Integer onboardPrice) {
        this.onboardPrice = onboardPrice;
    }

    public Integer getDespatchQuantity() {
        return despatchQuantity;
    }

    public void setDespatchQuantity(Integer despatchQuantity) {
        this.despatchQuantity = despatchQuantity;
    }

    public Integer getDespatchAmount() {
        return despatchAmount;
    }

    public void setDespatchAmount(Integer despatchAmount) {
        this.despatchAmount = despatchAmount;
    }

    public String getQnet() {
        return qnet;
    }

    public void setQnet(String qnet) {
        this.qnet = qnet;
    }

    public Integer getNaturalCoalUnitprice() {
        return naturalCoalUnitprice;
    }

    public void setNaturalCoalUnitprice(Integer naturalCoalUnitprice) {
        this.naturalCoalUnitprice = naturalCoalUnitprice;
    }

    public Integer getStandardCoalUnitprice() {
        return standardCoalUnitprice;
    }

    public void setStandardCoalUnitprice(Integer standardCoalUnitprice) {
        this.standardCoalUnitprice = standardCoalUnitprice;
    }

    public Integer getMonthlyRateRedemption() {
        return monthlyRateRedemption;
    }

    public void setMonthlyRateRedemption(Integer monthlyRateRedemption) {
        this.monthlyRateRedemption = monthlyRateRedemption;
    }

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getSupplyProvinceId() {
        return supplyProvinceId;
    }

    public void setSupplyProvinceId(String supplyProvinceId) {
        this.supplyProvinceId = supplyProvinceId;
    }

    public String getPowerstationId() {
        return powerstationId;
    }

    public void setPowerstationId(String powerstationId) {
        this.powerstationId = powerstationId;
    }

    @Override
    public String toString() {
        return "LandCoalTransshipmentEntity{" +
                "purchaseSalePreceptId='" + purchaseSalePreceptId + '\'' +
                ", contractAmount=" + contractAmount +
                ", onboardPrice=" + onboardPrice +
                ", despatchQuantity=" + despatchQuantity +
                ", despatchAmount=" + despatchAmount +
                ", qnet='" + qnet + '\'' +
                ", naturalCoalUnitprice=" + naturalCoalUnitprice +
                ", standardCoalUnitprice=" + standardCoalUnitprice +
                ", monthlyRateRedemption=" + monthlyRateRedemption +
                ", contractId='" + contractId + '\'' +
                ", createDate=" + createDate +
                ", lastUpdateDate=" + lastUpdateDate +
                ", supplyProvinceId='" + supplyProvinceId + '\'' +
                ", powerstationId='" + powerstationId + '\'' +
                '}';
    }
}
